export function appListColumns() {
  return [
    {
      title: this.$t('module.launchApp.processName'),
      key: 'name',
      ellipsis: true,
      minWidth: 140
    },
    {
      title: this.$t('module.launchApp.processKey'),
      key: 'key',
      ellipsis: false,
      minWidth: 160
    },
    {
      title: this.$t('module.launchApp.description'),
      key: 'description',
      minWidth: 160
    },
    {
      title: this.$t('module.launchApp.version'),
      key: 'version',
      minWidth: 40
    },
    {
      title: this.$t('common.operating'),
      align: 'center',
      fixed: 'right',
      width: 70,
      render: (h, params) => {
        return h('RowTools', {
          props: {
            data: [
              {
                type: 'icon',
                icon: 'ios-paper-plane',
                text: this.$t('module.launchApp.launchProcess'),
                handle: () => {
                  this._launchProcess(params.row.id)
                }
              }
            ]
          }
        })
      }
    }
  ]
}
